package org.huang.sample01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @描述: SpringBoot HelloWorld Sample
 * @作者 Mr.Huang
 * @创建时间 2017-08-05
 * @版本: 1.0
 */
@RestController
@EnableAutoConfiguration
public class HelloWorld {

    @RequestMapping("/")
    public String home(){
        return "hello,world !!!";
    }


    public static void main(String[] args) {
        SpringApplication.run(HelloWorld.class);
    }
}
